﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using Model;

namespace IDAL
{
    public interface IRepair 
    {
        bool RepairItem_Insert(DateTime recordTime, string userID,string remark, DataTable sNdt, DataTable stepdt);
        bool Repair_AutoBuild(string productSN, string repairPath, string userID);

        RepairInfo GetRepairbyLast(string productSN);
        RepairInfo GetRepairbySNDT(string productSN, DateTime recordTime);
        IList<RepairInfo> GetRepairbySN(string productSN);
        IList<RepairInfo> GetRepairbyPackageSN(string packageSN);
        IList<RepairInfo> GetRepairbyDT(DateTime dt1, DateTime dt2);
    }
}
